<style>
.tab-sign {
	width: 55px;
	background-position: 0 0;
	display: inline-block;
	margin-left: 15px;
	height: 21px;
	vertical-align: middle;
	background-image: url(/static/images/tab_sign.png);
	background-repeat: no-repeat;
}

.icon-add {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	background: url(/static/images/bg_icon.png) no-repeat 0 0;
}
</style>
<div class="row">
	<div class="col-xs-12">
		<div class="box">
			<div class="box-header">
				<h3 class="box-title">导航管理</h3>
			</div>
			<div class="col-md-1"><a href="/manage/menu/edit?pid=0" class="btn btn-block btn-success">新 增</a></div>
			<!-- /.box-header -->
			<div class="box-body">
				<table id="datatable" class="table table-bordered table-striped">
					<thead>
						<tr>
							<th>标识</th>
							<th>名称</th>
							<th>链接</th>
							<th>排序</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<!--{foreach($data as $k=>$v)}-->
						<tr>
							<td>
								<!--{$v['tag']}-->
							</td>
							<td>
								<!--{$v['name']}--><a href="/manage/menu/edit?pid=<!--{$v['id']}-->" title="添加子分类" class="add-sub-cate"> <i class="icon-add"></i>
							</a>
							</td>
							<td>
								<!--{$v['url']}-->
							</td>
							<td>
								<!--{$v['sort']}-->
							</td>
							<td><a href="/manage/menu/edit?id=<!--{$v['id']}-->">编辑</a>|<a href="/manage/menu/del?id=<!--{$v['id']}-->" onclick="if(!confirm('确定删除？'))return false;">删除</a></td>
						</tr>
						<!--{if(isset($v['menus']))}-->
						<!--{foreach($v['menus'] as $k2=>$v2)}-->
						<tr>
							<td>
								<!--{$v2['tag']}-->
							</td>
							<td>
								<span class="tab-sign"></span><!--{$v2['name']}--><a href="/manage/menu/edit?pid=<!--{$v2['id']}-->" title="添加子分类" class="add-sub-cate"> <i class="icon-add"></i>
							</a>
							</td>
							<td>
								<!--{$v2['url']}-->
							</td>
							<td>
								<span class="tab-sign"></span><!--{$v2['sort']}-->
							</td>
							<td><a href="/manage/menu/edit?id=<!--{$v2['id']}-->">编辑</a>|<a href="/manage/menu/del?id=<!--{$v2['id']}-->" onclick="if(!confirm('确定删除？'))return false;">删除</a></td>
						</tr>
						<!--{/foreach}-->
						<!--{/if}-->
						<!--{/foreach}-->
					</tbody>
				</table>
			</div>
			<!-- /.box-body -->
		</div>
		<!-- /.box -->
	</div>
	<!-- /.col -->
</div>
<!-- SlimScroll -->
<script src="/adminlte/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/adminlte/plugins/fastclick/fastclick.min.js"></script>
<!-- /.row -->
